package com.lanou.elh.sysmanage.system_member.entity;

import java.util.Date;

public class Tb_member {
    //会员id
    private Long id;
    //用户名
    private String username;
    //密码
    private String password;
    //手机号
    private String phone;
    //邮箱
    private String email;
    //创建时间
    private Date created;
    //更新时间
    private Date updated;
    //性别
    private String sex;
    //地址
    private String address;
    //状态1启用2删除0停用
    private Integer state;
    //头像
    private String file;
    //描述
    private String description;
    //积分
    private Integer points;
    //余额
    private Double balance;

    public Tb_member() {
    }

    public Tb_member(Long id, String username, String password, String phone, String email, Date created, Date updated, String sex, String address, Integer state, String file, String description, Integer points, Double balance) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.phone = phone;
        this.email = email;
        this.created = created;
        this.updated = updated;
        this.sex = sex;
        this.address = address;
        this.state = state;
        this.file = file;
        this.description = description;
        this.points = points;
        this.balance = balance;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "tb_member{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", created=" + created +
                ", updated=" + updated +
                ", sex='" + sex + '\'' +
                ", address='" + address + '\'' +
                ", state=" + state +
                ", file='" + file + '\'' +
                ", description='" + description + '\'' +
                ", points=" + points +
                ", balance=" + balance +
                '}';
    }
}
